#pragma once

#include "stdafx.h"
#include <atlstr.h>


#define DEFAULT_REMEMBER_SIZ 50
#define DEFAULT_SETTINGS_FILENAME _T("PageRememberSettings.xml")

class CPageRememberSettings
{
	CSimpleMap<CString, long> m_mapRemember;
	BOOL GetSettingsFilePath(CString& path);
public:
	void Save();
	void Load();
	void Add(CString strPath, long percentageScrolled);
	long GetScrollPercentage(CString strDocumentName);
	CPageRememberSettings(void);
	CPageRememberSettings(CPageRememberSettings& settings);
	void operator=(CPageRememberSettings& settings);
	~CPageRememberSettings(void);
};


